package com.hk.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Catalog2Vo {

    //1级父分类ID
    private String catalog1Id;

    //3级子分类
    private List<catalog3Vo> catalog3List;

    private String id;
    private String name;

    /**
     * 3级分类的类
     */
    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class catalog3Vo{
        private String catalog2Id;
        private String id;
        private String name;
    }
}
